package weather;

/**
 * 启动类
 */
public class Main {
    public static void main(String[] args) {
        WeatherClient client = new WeatherClient();
        String cityCode = "上海"; // 替换为实际城市代码
        String userID = "aa675f2019cd4edbb5123cf1a78b1e8a"; // 替换为实际用户ID

        String[] weatherData = client.getWeather(cityCode, userID);
        
        for (String data : weatherData) {
            if (data != null) {
                System.out.println(data);
            }
        }
    }
}
